package com.huawei.esdk.uc.jna.struct;

import java.util.ArrayList;
import java.util.List;

import com.huawei.esdk.uc.jna.Constants;
import com.sun.jna.Structure;

public class STDeviceParam extends Structure
{
    public byte[] name = new byte[Constants.STRING_LENGTH]; /* !< device name */

    public byte[] deviceId = new byte[Constants.STRING_LENGTH]; /* !< device id */

    public int index; /* !< device no */

    public int iscertified; /* !< if device is verified by Huawei Corp. */

    public int isactive; /* !< if device is active */

    public int type; /* !< 设备类型 */

    @Override
    protected List<String> getFieldOrder()
    {
        ArrayList<String> list = new ArrayList<String>();
        list.add("name");
        list.add("deviceId");
        list.add("index");
        list.add("iscertified");
        list.add("isactive");
        list.add("type");
        return list;
    }

}
